Lua/Client/Render/Functions/FillTriangle
From JC2-MP Documentation
2D
Returns | none |
---|---|
Prototype | Render:FillTriangle(Vector2 point1, Vector2 point2, Vector2 point3, Color draw_color) |
Description | Fills the triangle area defined by the 3 points with the specified color in 2D space. |
3D
Returns | none |
---|---|
Prototype | Render:FillTriangle(Vector3 point1, Vector3 point2, Vector3 point3, Color draw_color) |
Description | Fills the triangle area defined by the 3 points with the specified color in 3D space. |